//
// Created by Administrator on 2020/11/11.
//

#ifndef O5G_SRC_O5GUE_L2_SRC_L1INTF_INCLUDE_L1INTFDEF_H_
#define O5G_SRC_O5GUE_L2_SRC_L1INTF_INCLUDE_L1INTFDEF_H_

#include "../../../include/l2Def.h"

typedef struct UeL2L1IntfUeInst
{
    uint32_t inUse;
    uint32_t nbId;

    uint32_t nbIdx;
} S_UeL2L1IntfUeInst;

typedef struct UeL2L1IntfL1IntfContext
{
    pthread_t ulTid;
    pthread_t dlTid;
    S_OsSelect ulSelector;
    S_OsSelect dlSelector;
    S_Poller *ulPoller;
    S_Poller *dlPoller;
    uint32_t ueInstNum;
    S_UeL2L1IntfUeInst ueInst[UE_UE_INST_NUM_MAX];
} S_UeL2L1IntfContext;

extern S_UeL2L1IntfContext *gpUeL2L1IntfContext;

#endif //O5G_SRC_O5GUE_L2_SRC_L1INTF_INCLUDE_L1INTFDEF_H_
